﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MsForgeReboot.Framework
{
    public static class ValidationExpressions {
        public const string Email = @"^(?("")(""[^""]+?""@)|(([0-9a-z]((\.(?!\.))|[-!#\$%&'\*\+/=\?\^`\{\}\|~\w])*)(?<=[0-9a-z])@))(?(\[)(\[(\d{1,3}\.){3}\d{1,3}\])|(([0-9a-z][-\w]*[0-9a-z]*\.)+[a-z0-9]{2,17}))$";
        public const string Url = @"(http|https)://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?";
        public const string TwitterScreenName = @"@\w+";
        public const string TwitterHashTag = @"#\w+";

    }
}
